package com.chenjinyan.vo;

import com.alibaba.fastjson.JSONObject;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

@Data
public class GoodsInfoVo {


    private Long id;

    private Long userId;

    private Integer typeOfGoods;

    private String infoTittle;

    private String description;

    private String lostPlace;

    private String lostTime;

    private String concPlace;

    private String concPersion;

    private String phoneNo;

    private String email;

    private String telPhoneNo;

    private String msn;

    private String qq;

    private Integer thankWay;

    private BigDecimal thankMoneyAmount;

    private Integer goodsWay;

    private String findGoodsQuestion1;
    private String findGoodsQuestion2;
    private String findGoodsQuestion3;
    private String findGoodsAnswer1;
    private String findGoodsAnswer2;
    private String findGoodsAnswer3;

    private String pageNo;
    private String pageSize;

    private Integer province;

    private Integer city;

    private Integer district;

    private List<String> picUrls;

    private Long fromTime;

    private Long toTime;

    private Integer status;


    public static void main(String[] args) {
        GoodsInfoVo stu=new GoodsInfoVo();
        stu.setId(1L);
        stu.setStatus(0);

        //2、使用JSONArray
        System.out.println(JSONObject.toJSON(stu));;
    }
}
